#pragma once

#include "Ray.h"
#include "Material.h"

struct  HitRecord
{
	float t;
	Vector3 p;
	Vector3 normal;

	Material* pMaterial;
};

class  Hitable
{
public:
	virtual bool hit(const Ray& r, float t_min, float t_max, HitRecord& rec) const = 0;

};

